package enrique.kurso.tablet;


import enrique.kurso.R;
import android.app.Activity;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;

public class MultiPaneActivity extends Activity {
	  public static MenuFragment fragment = new MenuFragment();
	   @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.multipanelayout);
	        FragmentManager fragmentManager = getFragmentManager();
	        FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
	        MenuFragment fragment = new MenuFragment();
	        fragmentTransaction.add(R.id.left_pane, fragment,"menuFragment");
	        
	        fragmentTransaction.commit();
	   }
}
